export default {
	data() {
		return {
			shareParams: {
				path: '/pages/tabBar/goods/goods',
				title: '轻松管理生活中的每一件物品'
			}
		};
	},
	onShareAppMessage(res) {
		if (res.from === 'button') {
			console.log(res.target);
		}
		return {
			title: this.shareParams.title,
			path: this.shareParams.path,
			desc: '轻松管理生活中的每一件物品'
		}; 
	},
	onShareTimeline() {
		return {
			title: this.shareParams.title,
			path: this.shareParams.path,
		};
	}
};